<?php
class block_my_block_edit_form extends block_edit_form {

	protected function specific_definition($mform) {

		// Section header title according to language file.
		$mform->addElement('header', 'configheader', get_string('blocksettings', 'block'));

		// A sample string variable with a default value.
		$mform->addElement('text', 'config_text', get_string('blockstring', 'block_my_block'));
		$mform->setDefault('config_text', 'default value');
		$mform->setType('config_text', PARAM_MULTILANG);

	}
	public function instance_allow_multiple() {
		return true;
	}
}
?>